package com.example.sgxs_api.mapper;

import com.example.sgxs_api.domain.Fruit;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FruitMapper {
    @Select("select fruit_id,fruit_name,fruit_type,fruit_price,fruit_num,fruit_introduce,fruit_sales,fruit_photo from fruit")
    List<Fruit> getAllFruit();
}
